package sprint2;

import java.io.Serializable;
/**
 * Alleen een Test klasse
 * @author Marco Schultewolter
 *
 */
public class TestBattleship implements Serializable {
	public static void main(String[] args) {
		BattleShipGun bsg0 = new BattleShipGun("Plasmagun", "Grote damage waarde, maar alleen 50% kans om te raaken.", 20, 0.5);
		BattleShipGun bsg1 = new BattleShipGun("Kutgun", "Kleine damage waarde, maar je raakt altijd!", 5, 1);
		BattleShipGun[] bsgArray = {bsg0, bsg1};

		BattleShip b0 = new BattleShip("Ship ooo", "", 2, 0, 0, 0, 0, 0, 0, 0, 0, null, bsgArray);

		BattleShip[] bsArray = {b0};
		BattleShip b = new BattleShip("Own Battleship", "", 1, 0, 0, 0, 0, 0, 0, 0, 0, bsArray, bsgArray);

		b.tryToAttack();

		System.out.println("END...");
	}
}
